package one.stand.fallback;

import com.jmp.feign.AdminFegin;
import one.stand.entity.excel.BusinessExcelEntity;
import one.stand.model.*;
import one.stand.request.*;
import one.stand.response.BusinessCardResponse;
import one.stand.response.NoticeResponse;
import one.stand.response.VersionResponse;
import one.stand.util.ExportDataDTO;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * @author zrh
 */
@Component
public class AdminFallBack implements AdminFegin {

    @Override
    public ResultModel<Boolean> configureAgen(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> appletCodeManageList(VersionRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<VersionResponse> appletCodeManageInfo(VersionRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> addVersionInfo(VersionRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel auditCompany(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectCustomerList(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<ExportDataDTO<BusinessExcelEntity>> selectCustomerListExport(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<String>> selectAppId(Integer versionId) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectNoticeList(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<NoticeResponse> getNoticeInfo(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> insertNotice(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> delNotice(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel companyCategoryList(@RequestBody CompanyCategoryModelRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel companyCategoryAdd(@RequestBody CompanyCategoryModel model) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel companyCategoryDelete(@RequestBody CompanyCategoryModel model) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel applyList(@RequestBody CompanyApplyRecordModel request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel updateState(@RequestBody CompanyApplyRecordModel request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel categoryDel(@RequestBody CompanyCategoryRelationModel request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel categoryAdd(@RequestBody CompanyCategoryRelationModel request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel categoryList(@RequestBody CompanyCategoryRelationModel request) {
        return ResultModel.faultTolerant();
    }

}
